package com.sky.controller.user;

import com.sky.result.Result;
import com.sky.service.ShopService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController("user_ShopController")
@Slf4j
@RequestMapping("/user/shop")
public class ShopController {
    @Autowired
    ShopService shopService;
    @GetMapping("/status")
    public Result<Integer> getstatus(){
        Integer statuscode = shopService.getstatus();
        return Result.success(statuscode);
    }

}
